<%--
  Created by IntelliJ IDEA.
  User: yangkang
  Date: 2021/1/22
  Time: 19:23
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
    <!-- 1. 导入CSS的全局样式 -->
    <link href="${pageContext.request.contextPath}/css/bootstrap.min.css" rel="stylesheet">
    <!-- 2. jQuery导入，建议使用1.9以上的版本 -->
    <script src="${pageContext.request.contextPath}/js/jquery-2.1.0.min.js"></script>
    <!-- 3. 导入bootstrap的js文件 -->
    <script src="${pageContext.request.contextPath}/js/bootstrap.min.js"></script>
    <script type="text/javascript">
    </script>
</head>
<body>
<div class="container">
    <h3 align="center">增加员工</h3>
    <div class="col-lg-3"></div>
    <div class="col-lg-6">
        <form action="${pageContext.request.contextPath}/employee/add" method="post">
            <div class="form-group">
                <label for="emp_name">姓名：</label>
                <input type="text" class="form-control" id="emp_name" name="emp_name" placeholder="请输入姓名">
            </div>

            <div class="form-group">
                <label for="dept_id">部门号：</label>
                <input type="text" class="form-control" id="dept_id" name="dept_id" placeholder="请输入部门号">
            </div>

            <div class="form-group">
                <label for="job_name">职位：</label>
                <input type="text" class="form-control" id="job_name" name="job_name" placeholder="请输入职位">
            </div>

            <div class="form-group">
                <label for="join_Date">入职时间：</label>
                <input type="text" class="form-control" id="join_Date" name="join_Date" placeholder="请输入入职时间">
            </div>

            <div class="form-group">
                <label for="telephone">联系方式：</label>
                <input type="text" class="form-control" id="telephone" name="telephone" placeholder="联系方式">
            </div>

            <div class="form-group" style="text-align: center">
                <input class="btn btn-primary" type="submit" value="提交" />
                <input class="btn btn-default" type="reset" value="重置" />
                <input class="btn btn-default" type="button" onclick="history.go(-1)" value="返回" />
            </div>
        </form>
    </div>
        <div class="col-lg-3"></div>
</div>
</body>
</html>
